from office365.runtime.paths.resource_path import ResourcePath
from office365.sharepoint.entity import Entity
from office365.sharepoint.files.file import File


class SPOMalwareFile(Entity):
    """ """

    @property
    def file(self):
        return self.properties.get(
            "File",
            File(self.context, ResourcePath("File", self.resource_path)),
        )

    @property
    def entity_type_name(self):
        return "Microsoft.Online.SharePoint.TenantAdministration.SPOMalwareFile"
